function Format() {
    this.tags = ['div']
}
Format.div = function(x) {
    return Format

    //return `<div>${x}</div>`

}

Format.p = function(x) {
    //return `<p>${x}</p>`
    return Format
}


console.log(Format.div("Foo").p('Bar'))
console.log(Format.div(
    Format.p(`Paragraph`)
))